#!/usr/bin/env bash
thermal_path=/sys/class/thermal
for thermal in $(ls -1 $thermal_path | grep thermal_zone)
do
	thermal_block=$thermal_path/$thermal
	echo "$thermal: $(cat $thermal_block/temp) $(cat $thermal_block/policy)"
done
